package com.hgq.tenadmin.md.activity.dao;

import com.hgq.tencommon.entity.md.activity.MdActivity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MdActivityDao {
    List<MdActivity> selectAllActivity(@Param("activityName") String activityName,
                                       @Param("startTime") Date startTime,
                                       @Param("endTime") Date endTime,
                                       @Param("type") String type,
                                       @Param("city")String city,
                                       @Param("state") String state);
    void insertOneActivity(MdActivity mdActivity);

    void updateOneActivity(MdActivity mdActivity);

    void deleteOneActivity(Integer aid);
}
